#date --date="-1 day"
#echo $date

yesterday=$(date --date="-1 day" +"%m-%d-%Y")

echo Yesterday is : $yesterday